<div id="page_content">
    <h2><?php echo $this->t->_('Events'); ?></h2>
    <div class="events_list">
        <?php
        if (!count($this->events)) {
            echo $this->t->_("No found");
        } else {
            foreach ($this->events as $e) {
                ?>
                <div class="event clearfix<?php if ($e->user == 0)
            echo ' no_read' ?>">
                    <div class="event_date <?php if ($e->alarm)
            echo 'alarm'; ?>"><?= date($this->config->time, strtotime($e->date)) ?> </div>
                    <div class="event_title"><a href="<?= ADMIN_URL ?>/events/index/id/<?= $e->id ?>" title="<?= $e->title ?>"><?= $e->title ?></a></div>
                    <div class="event_remove"><a href="#" id="<?= ADMIN_URL ?>/events/delete/id/<?= $e->id ?>" title="<?= $this->t->_('Delete') ?>" class="nav_button delete_button"></a></div>
                </div>
                <?php
            }
        }
        ?>
    </div>
<?php echo $this->partial('paginator.phtml', array('paginator' => $this->paginator, 't' => $this->t, 'url' => '/events/index')); ?>
</div>

<div id="sidebar">

</div>

